package com.example.demo.web.filter;


import java.util.Arrays;

import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;

import org.apache.shiro.web.filter.PathMatchingFilter;

/**
 * 处理符合规定的url过滤器,且对相关出书进行处理
 * <p>@author Henry.Y</p>
 *
 * <p>@date 2019-08-18</p>
 */
public class MyPathMatchingFilter extends PathMatchingFilter{

	protected boolean onPreHandle(ServletRequest request,ServletResponse response,Object mappedValue)throws Exception{
		System.out.println("url match config is " +Arrays.toString((String[])mappedValue));
		return true;
	}
}
